from sqlalchemy import Column, Integer

from database.models.DatabaseCommon import Base


class SlaveID(Base):
    __tablename__ = 'SlaveIDs'
    id = Column(Integer, primary_key=True, autoincrement=True)
    addr = Column(Integer)

    def __repr__(self):
        return "<SlaveID (id='%d', addr='%d')>" % (
            self.id, self.addr)
